package application.model;

import javax.xml.bind.annotation.XmlRootElement;
import java.util.ArrayList;
import java.util.List;

@XmlRootElement(name = "phases")
public class PhasesModel
{
    private List<PhaseModel> phaseModels = new ArrayList<PhaseModel>();

    public List<PhaseModel> getPhaseModels()
    {
        return phaseModels;
    }

    public void setPhaseModels(List<PhaseModel> phaseModels)
    {
        this.phaseModels = phaseModels;
    }

    public void addPhase(PhaseModel phaseModel)
    {
        phaseModels.add(phaseModel);
    }
}
